PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.formattedcontent Package / PDFFormattedContent Class / PDFFormattedContent Constructor / PDFFormattedContent Constructor(String,PDFFont)
Paragraph text.
Font used for displaying the text.
In This Topic
    PDFFormattedContent Constructor(String,PDFFont)
    In This Topic
    Initializes a new PDFFormattedContent object with a text paragraph.
    Syntax
    public PDFFormattedContent( 
       java.lang.String text,
       PDFFont font
    )

    Parameters

    text
    Paragraph text.
    font
    Font used for displaying the text.
    Exceptions
    ExceptionDescription
    When text is null.
    See Also